﻿<local:BaseDataVisualizer x:Class="BrainTechLLC.Silverlight.ClientApplication.EditNameInfo"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:BrainTechLLC.Silverlight.Controls;assembly=BrainTechLLC.Silverlight.Controls"
    xmlns:BrainTechLLC="clr-namespace:BrainTechLLC;assembly=BrainTechLLC.Silverlight.Core"
    xmlns:BrainTechLLC2="clr-namespace:BrainTechLLC;assembly=BrainTechLLC.Silverlight.BasicObjects">
    <StackPanel Orientation="Vertical" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Name="gridData" Background="#FFFFFFFF">
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="140"/>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="140"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>

            <ContentControl Grid.Column="0" Content="Name:" Style="{StaticResource TextBlockContentStyle}" VerticalAlignment="Center"/>
            <TextBox Grid.Column="1" Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Center" Text="{Binding Mode=TwoWay, Path=Name}" Style="{StaticResource TextBoxNoScroller}" />

            <ContentControl Grid.Column="2" Content="Keywords:" Style="{StaticResource TextBlockContentStyle}" VerticalAlignment="Center"/>
            <TextBox Grid.Column="3" Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Center" Text="{Binding Mode=TwoWay, Path=Keywords}" Style="{StaticResource TextBoxNoScroller}" />
        </Grid>
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="140"/>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="140"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <ContentControl Grid.Column="0" Content="Friendly Unique:" Style="{StaticResource TextBlockContentStyle}" VerticalAlignment="Center"/>
            <TextBox Grid.Column="1" Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Center" Text="{Binding Mode=TwoWay, Path=FriendlyUniqueName}" Style="{StaticResource TextBoxNoScroller}" />
            <ContentControl Grid.Column="2" Content="Short Desc:" Style="{StaticResource TextBlockContentStyle}" VerticalAlignment="Center"/>
            <TextBox Grid.Column="3" Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Center" Text="{Binding Mode=TwoWay, Path=ShortDescription}" Style="{StaticResource TextBoxNoScroller}" />
        </Grid>
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" Width="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="140"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <ContentControl Grid.Column="0" Content="One Line:" Style="{StaticResource TextBlockContentStyle}" VerticalAlignment="Center"/>            
            <TextBox Grid.Column="1" Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Center" Text="{Binding Mode=TwoWay, Path=OneLineDescription}" Style="{StaticResource TextBoxNoScroller}" />
        </Grid>

    </StackPanel>
</local:BaseDataVisualizer>
